﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="FlowForm.aspx.cs" Inherits="page_FlowForm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
       <link rel="Stylesheet" type="text/css" href="../Styles/right_style.css" />
   <script type="text/javascript" src="../Scripts/jquery.ui/js/jquery.js"></script>

         <style type="text/css">
            <!--
            html{ scrollbar-base-color: #dbecf8; scrollbar-arrow-color: #2a8ed1; scrollbar-track-color: #bdddf2; scrollbar-3dlight-color: #2886c5; scrollbar-darkshadow-color: #2886c5;
            scrollbar-face-color: #dbecf8; scrollbar-shadow-color: #dbecf8;  }
            -->
        </style>
</head>
<body >
    <form id="form1" runat="server">
   <div class="sub_right_top">
   <div class="hdm_footer">
      <div style="height:13px; overflow:hidden;"></div>
     <table width="97%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#77acd0" bgcolor="#f7fcff" style="border-collapse:collapse;">
       <tr bgcolor="#b1d5ef">
         <td><span class="new_name_word">新建表单</span><span class="new_button_img">
          <asp:ImageButton ID="ImageButton1" runat="server" OnClick="Button1_Click" ImageUrl="~/images/new_form.gif" />
         </span></td>
       </tr>
     </table>
    <div style="height:15px; overflow:hidden;"></div>          
         <asp:Repeater ID="DataList1" runat="server" OnItemDataBound="DataList1_ItemDataBound">
            <ItemTemplate>
            
                <div class="workflow_line">
                   <div>
                         <div class="workflow_line_title">
                            <asp:Label ID="formTitleLbl" runat="server"></asp:Label>
                           </div>
                       <div class="workflow_line_top">
                           <div class="r1">
                           </div>
                           <div class="r2">
                           </div>
                           <div class="r3">
                           </div>
                           <div class="r4">
                           </div>
                       </div>
                   </div>
                   <div class="workflow_line_content">
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" OnRowCommand="GridView1_RowCommand" BorderColor="#77ACD0" HorizontalAlign="Center" BorderWidth="1px" GridLines="Horizontal" Width="99%">
                    <Columns>
                        <asp:BoundField DataField="TheName" HeaderText="表单名称" >
                            <ItemStyle Font-Size="12px" Width="30%" />
                             <HeaderStyle CssClass="itemhead" />
                        </asp:BoundField>
                        <asp:TemplateField HeaderText="操作">
                                                     <HeaderStyle CssClass="itemhead" />
                            <ItemTemplate>

                                <asp:LinkButton ID="LinkButton1" runat="server" CommandArgument='<%# Eval("theid") %>' CommandName="EditFormName">编辑表单名称</asp:LinkButton>
                                <asp:LinkButton ID="LinkButton2" runat="server" CommandArgument='<%# Eval("theid") %>'
                                    CommandName="EditForm">编辑表单</asp:LinkButton>
                                <asp:LinkButton ID="LinkButton3" runat="server" CommandArgument='<%# Eval("theid") %>'
                                    CommandName="Show">预览</asp:LinkButton>
                                <asp:LinkButton ID="LinkButton4" runat="server" CommandArgument='<%# Eval("theid") %>'
                                    CommandName="introduction">导入</asp:LinkButton>
                                <asp:LinkButton ID="LinkButton5" runat="server" CommandArgument='<%# Eval("theid") %>'
                                    CommandName="export">导出</asp:LinkButton>&nbsp;
                            </ItemTemplate>
                            <ItemStyle Font-Size="12px" />
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
                     <RowStyle BackColor="Transparent" ForeColor="Black" HorizontalAlign="Center" />
                                    <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
                                    <PagerStyle BackColor="#E4F1FD" ForeColor="#1E5494" HorizontalAlign="Right" />
                                    <HeaderStyle BackColor="#E4F1FD" ForeColor="#1E5494" BorderColor="#77ACD0" HorizontalAlign="Center"/>
                                    <AlternatingRowStyle BackColor="#E4F1FD" />
                </asp:GridView>
                <asp:HiddenField ID="HiddenField1" runat="server" Value='<%# Eval("id") %>' />
                 </div>
                     <div class="workflow_line_bot">
                     <div class="r4"></div>
                     <div class="r3"></div>
                     <div class="r2"></div>
                     <div class="r1"></div>
                   </div>
                 </div>
                 <div style="height:15px; overflow:hidden;"></div>
            </ItemTemplate>
        </asp:Repeater>
        <br />


     <div class="workflow_line">
       <div class="workflow_line_title">未分类的表单</div>
       <div class="workflow_line_top">
         <div class="r1"></div>
         <div class="r2"></div>
         <div class="r3"></div>
         <div class="r4"></div>
       </div>
       <div class="workflow_line_content">

        <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" OnRowCommand="GridView2_RowCommand1" BorderColor="#77ACD0" HorizontalAlign="Center" BorderWidth="1px" GridLines="Horizontal" Width="99%">
            <Columns>
                <asp:BoundField DataField="form_name" HeaderText="表单名称" >
                    <ControlStyle BorderColor="Black" />
                    <ItemStyle Width="35%" />
                     <HeaderStyle CssClass="itemhead" />
                </asp:BoundField>
                <asp:TemplateField HeaderText="操作">
                <HeaderStyle CssClass="itemhead" />

                    <ItemTemplate>
                        <asp:LinkButton ID="LinkButton7" runat="server" CommandArgument='<%# Eval("id") %>'
                            CommandName="EditFormName">编辑表单名称</asp:LinkButton>
                        <asp:LinkButton ID="LinkButton8" runat="server" CommandArgument='<%# Eval("id") %>' CommandName="EditForm">编辑表单</asp:LinkButton>
                        <asp:LinkButton ID="LinkButton9" runat="server" CommandArgument='<%# Eval("id") %>'
                            CommandName="Show">预览</asp:LinkButton>
                        <asp:LinkButton ID="LinkButton10" runat="server" CommandName="introduction" CommandArgument='<%# Eval("id") %>'>导入</asp:LinkButton>
                        <asp:LinkButton ID="LinkButton5" runat="server" CommandArgument='<%# Eval("id") %>'
                            CommandName="export">导出</asp:LinkButton>
                        <asp:LinkButton ID="LinkButton6" runat="server" CommandArgument='<%# Eval("id") %>' CommandName="Delete" OnClientClick='return confirm("确认删除吗")'>删除</asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
            <RowStyle BackColor="Transparent" ForeColor="Black" HorizontalAlign="Center" />
                                    <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
                                    <PagerStyle BackColor="#E4F1FD" ForeColor="#1E5494" HorizontalAlign="Right" />
                                    <HeaderStyle BackColor="#E4F1FD" ForeColor="#1E5494" BorderColor="#77ACD0" HorizontalAlign="Center"/>
                                    <AlternatingRowStyle BackColor="#E4F1FD" />
        </asp:GridView>

            </div>
         <div class="workflow_line_bot">
         <div class="r4"></div>
         <div class="r3"></div>
         <div class="r2"></div>
         <div class="r1"></div>
       </div>
     </div>
     <div style="height:15px; overflow:hidden;"></div> 
</div>
    </form>
</body>
</html>
